export const isAuth = () => {
    const data = localStorage.getItem("user")
    if (data) {
        return JSON.parse(data)
    }else{
        return false
    }
}